﻿using MoneyManagerNET.Presentation.ViewModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using MoneyManagerNET.Model;
using System.Windows.Input;
using System.ComponentModel;

namespace Tests.Presentation.ViewModel
{
    
    
    /// <summary>
    ///This is a test class for CreateAccountViewModelTest and is intended
    ///to contain all CreateAccountViewModelTest Unit Tests
    ///</summary>
    [TestClass()]
    public class CreateAccountViewModelTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for CreateAccountViewModel Constructor
        ///</summary>
        [TestMethod()]
        public void CreateAccountViewModelConstructorTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for Cancel
        ///</summary>
        [TestMethod()]
        public void CancelTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            target.Cancel();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for CreateAccount
        ///</summary>
        [TestMethod()]
        public void CreateAccountTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            IAccount expected = null; // TODO: Initialize to an appropriate value
            IAccount actual;
            actual = target.CreateAccount();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Finish
        ///</summary>
        [TestMethod()]
        public void FinishTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            target.Finish();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for MoveBack
        ///</summary>
        [TestMethod()]
        public void MoveBackTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            target.MoveBack();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for MoveNext
        ///</summary>
        [TestMethod()]
        public void MoveNextTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            target.MoveNext();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for UpdatePossibleNavigation
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MoneyManagerNET.Presentation.ViewModel.dll")]
        public void UpdatePossibleNavigationTest()
        {
            CreateAccountViewModel_Accessor target = new CreateAccountViewModel_Accessor(); // TODO: Initialize to an appropriate value
            target.UpdatePossibleNavigation();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for AccountName
        ///</summary>
        [TestMethod()]
        public void AccountNameTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.AccountName = expected;
            actual = target.AccountName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CanBack
        ///</summary>
        [TestMethod()]
        public void CanBackTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            target.CanBack = expected;
            actual = target.CanBack;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CanCancel
        ///</summary>
        [TestMethod()]
        public void CanCancelTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            target.CanCancel = expected;
            actual = target.CanCancel;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CanFinish
        ///</summary>
        [TestMethod()]
        public void CanFinishTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            target.CanFinish = expected;
            actual = target.CanFinish;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CanNext
        ///</summary>
        [TestMethod()]
        public void CanNextTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            target.CanNext = expected;
            actual = target.CanNext;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CancelCommand
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MoneyManagerNET.Presentation.ViewModel.dll")]
        public void CancelCommandTest()
        {
            CreateAccountViewModel_Accessor target = new CreateAccountViewModel_Accessor(); // TODO: Initialize to an appropriate value
            ICommand expected = null; // TODO: Initialize to an appropriate value
            ICommand actual;
            target.CancelCommand = expected;
            actual = target.CancelCommand;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for DialogResult
        ///</summary>
        [TestMethod()]
        public void DialogResultTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            Nullable<bool> expected = new Nullable<bool>(); // TODO: Initialize to an appropriate value
            Nullable<bool> actual;
            target.DialogResult = expected;
            actual = target.DialogResult;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for FinishCommand
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MoneyManagerNET.Presentation.ViewModel.dll")]
        public void FinishCommandTest()
        {
            CreateAccountViewModel_Accessor target = new CreateAccountViewModel_Accessor(); // TODO: Initialize to an appropriate value
            ICommand expected = null; // TODO: Initialize to an appropriate value
            ICommand actual;
            target.FinishCommand = expected;
            actual = target.FinishCommand;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for MoveBackCommand
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MoneyManagerNET.Presentation.ViewModel.dll")]
        public void MoveBackCommandTest()
        {
            CreateAccountViewModel_Accessor target = new CreateAccountViewModel_Accessor(); // TODO: Initialize to an appropriate value
            ICommand expected = null; // TODO: Initialize to an appropriate value
            ICommand actual;
            target.MoveBackCommand = expected;
            actual = target.MoveBackCommand;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for MoveNextCommand
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MoneyManagerNET.Presentation.ViewModel.dll")]
        public void MoveNextCommandTest()
        {
            CreateAccountViewModel_Accessor target = new CreateAccountViewModel_Accessor(); // TODO: Initialize to an appropriate value
            ICommand expected = null; // TODO: Initialize to an appropriate value
            ICommand actual;
            target.MoveNextCommand = expected;
            actual = target.MoveNextCommand;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for PossibleTypes
        ///</summary>
        [TestMethod()]
        public void PossibleTypesTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            ICollectionView expected = null; // TODO: Initialize to an appropriate value
            ICollectionView actual;
            target.PossibleTypes = expected;
            actual = target.PossibleTypes;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for SelectedType
        ///</summary>
        [TestMethod()]
        public void SelectedTypeTest()
        {
            CreateAccountViewModel target = new CreateAccountViewModel(); // TODO: Initialize to an appropriate value
            Nullable<CreateAccountViewModel.AccountType> actual;
            actual = target.SelectedType;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Step
        ///</summary>
        [TestMethod()]
        [DeploymentItem("MoneyManagerNET.Presentation.ViewModel.dll")]
        public void StepTest()
        {
            CreateAccountViewModel_Accessor target = new CreateAccountViewModel_Accessor(); // TODO: Initialize to an appropriate value
            int expected = 0; // TODO: Initialize to an appropriate value
            int actual;
            target.Step = expected;
            actual = target.Step;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
